package org.smart4j.framework.dwtest.并发.semaphore;

/**
 * Created by
 *
 * @author dw
 * @date 2018/02/01
 */
public class Car extends Thread {
    private Driver driver;

    public Car(Driver driver) {
        super();
        this.driver = driver;
    }

    @Override
    public void start() {
        driver.driverCar();
    }
}
